<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ include file="/WEB-INF/pages/template/libs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script type="text/javascript" src="resources/js/articulo/nuevo.js"></script>


</head>
<body>


<div style="width: 800px;">

	<div class="framesmall" style="width: 600px">
		<img src="resources/img/icon/article.png" align="absmiddle" />&nbsp;<bean:message key="app.articulo.nuevo.caption"/>
	</div>
	<br/>
	<form id="frmArticulo" action="articulo.htm" method="post">
		<input type="hidden" name="method" value="save" />
		<div class="framelight" style="width: 600px">
			<div class="form">
				<table class="form-list" cellpadding="6px" cellspacing="0px">
					<tr>
						<th><bean:message key="app.rubro.field.rubro"/>:</th>
						<td>
							<select name="codRubro">
								<c:forEach var="rubro" items="${listRubros}">
									<option value="<c:out value="${rubro.idrubro}" />"><c:out value="${rubro.descrip}" /></option>
								</c:forEach>
							</select>
						</td>
					</tr>
					<tr>
						<th><bean:message key="app.word.description"/>:</th>
						<td><input type="text" name="txtDescripcion" value="" /></td>
					</tr>
					<tr>
						<th><bean:message key="app.articulo.field.precio"/>:</th>
						<td><input type="text" name="txtPrecioVenta" isnumber="true" value="" /></td>
					</tr>
					<tr>
						<th><bean:message key="app.articulo.field.costou"/>:</th>
						<td><input type="text" name="txtCostoUnitario" isnumber="true" value="0" /></td>
					</tr>
				</table>
				<div class="buttons">
					<div class="button">
						<ex:button align="right"><bean:message key="app.forms.button.back"/></ex:button>
					</div>
					<div class="button">
						<ex:button align="right"><bean:message key="app.forms.button.clear"/></ex:button>
					</div>
					<div class="button">
						<ex:button onClick="doSave()" align="right" color="blue"><bean:message key="app.forms.button.save"/></ex:button>
					</div>
				</div>	
			</div>
		</div>
	</form>
	

</div>



</body>
</html>